From: Johan Dahlin Date: Sat, 21 Jun 2008 13:09:57 +0000 (+0000) Subject: Cast to guint8* to avoid a compiler warning. X-Git-Tag: archive/raspbian/4.4.1+ds1-2+rpi1~1^2~428^2^2~31799 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=a1362779eea72182cb6cddd15e147125ae51ce02;p=gtk4.git Cast to guint8* to avoid a compiler warning. 2008-06-21 Johan Dahlin * gtk/gtkiconcachevalidator.c (check_pixel_data): Cast to guint8* to avoid a compiler warning. svn path=/trunk/; revision=20665 --- diff --git a/ChangeLog b/ChangeLog index 19d13374e0..19c57e4cf4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2008-06-21 Johan Dahlin + + * gtk/gtkiconcachevalidator.c (check_pixel_data): Cast to guint8* to avoid + a compiler warning. + 2008-06-21 Michael Natterer * gdk/gdkapplaunchcontext.h: remove redundant include, fix diff --git a/gtk/gtkiconcachevalidator.c b/gtk/gtkiconcachevalidator.c index 5f322d6b39..e567474b2d 100644 --- a/gtk/gtkiconcachevalidator.c +++ b/gtk/gtkiconcachevalidator.c @@ -166,7 +166,7 @@ check_pixel_data (CacheInfo *info, GdkPixdata data; check ("pixel data", gdk_pixdata_deserialize (&data, length, - info->cache + offset + 8, + (const guint8*)info->cache + offset + 8, NULL)); }